body {
  font-family: msyh;
  font: 100000;
}

.editor-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.header {
  box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;

  .left {
    display: flex;
    align-items: center;
    flex: 1;

    .back-icon {
      margin-right: 20px;
    }

    nav {
      margin-left: 26px;

      span {
        cursor: pointer;
        display: inline-block;
        line-height: 60px;
        color: #333;
        font-size: 14px;
        padding: 0 10px;

        &:hover {
          background-color: rgba(42, 175, 241, 0.15);
        }
      }
    }
  }
}

.main {
  flex: 1;
  display: flex;
  overflow: hidden;

  .left {
    padding-left: 20px;
    width: 600px;
    box-sizing: border-box;
    background: #fff;
  }

  .resizer {
    width: 10px;
    height: 100%;
    background-color: transparent;
    margin: 0 -5px;
    cursor: col-resize;
    position: relative;
    z-index: 10;
    transition: all 0.8s;

    &:hover {
      background-color: rgba(0, 0, 0, 0.2);
    }
  }

  .right {
    flex: 1;
    padding: 30px 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    background-color: #606060;

    .render-content {
      margin: 0 auto;
      background-color: #fff;
    }
  }
}